package com.example.springboot.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * (Background)表实体类
 *
 * @author makejava
 * @since 2023-05-13 19:35:19
 */
@SuppressWarnings("serial")
@Data
public class Background extends Model<Background> {
    //后台人员id
    private Integer id;
    //后台人员账号
    private String username;
    //后台人员密码
    private String password;
    //后台人员身份标识 1为管理员 0为教师
    private String identification;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdentification() {
        return identification;
    }

    public void setIdentification(String identification) {
        this.identification = identification;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }

